<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>添加字典项目</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <link rel="stylesheet" href="__LAYUI__/css/layui.css" media="all">
  <link rel="stylesheet" href="__CSS__/common/layui.form.css" media="all">
  <link rel="stylesheet" href="__STATIC__/plugs/font-awesome/css/font-awesome.min.css" media="all">
</head>
<body>
    <!--编辑页-->
    <div class="layui-container">
        <form class="layui-form" action="{:url('admin/library/add')}" method="post">
        	<div class="layui-form-item">
  				<label class="layui-form-label">项目选择</label>
  				<div class="layui-input-block">
  					<select name="sysCode" layui-search="" lay-filter="linkage" data-hide="sysCodeName" data-url="{:url('admin/ajax.library/getParentCode')}" data-child="parentCodeName" data-first="first">
  						<option></option>
  						{volist name="libraryItem" id="item"}
  							<option value="{$item.sysCode}">{$item.sysCodeName}</option>
  						{/volist}
  					</select>
  				</div>
  				<input type="hidden" name="sysCodeName" value="">
  			</div>
  			<div class="layui-form-item">
  				<label class="layui-form-label">父级</label>
  				<div class="layui-input-block">
  					<select name="parentCode" id="parentCodeName" lay-filter="linkage" data-url="{:url('admin/ajax.library/getParentContent')}" data-child="parentSystemName">
  					</select>
  				</div>
  			</div>
  			<div class="layui-form-item">
  				<label class="layui-form-label">父级内容</label>
  				<div class="layui-input-block">
  					<select name="parentSubsystemNo" id="parentSystemName">
  					</select>
  				</div>
  			</div>
  			<div class="layui-form-item">
  				<label class="layui-form-label">项目内容</label>
  				<div class="layui-input-inline" style="width:12%">
  					 <input class="layui-input" type="text" name="controlChar"  autocomplete="off" placeholder="大写首字母">
  					  
  				</div>
  				<div class="layui-input-inline" style="width:73.5%">
  					<input class="layui-input" type="text" name="subsystemName"  autocomplete="off" placeholder="请输入项目内容">
  				</div>
  			</div>
  			<div class="layui-form-item">
  				<label class="layui-form-label">备注</label>
  				<div class="layui-input-block">	
      				<textarea name="remark" placeholder="请输入内容" class="layui-textarea"></textarea>
  				</div>
  			</div>
			<div class="layui-form-item">
			    <div class="layui-input-block">
			      <button class="layui-btn btn-green" lay-submit="" lay-filter="save">保存</button>
			      <button type="reset" class="layui-btn layui-btn-primary">重置</button>
			    </div>
		  	</div>
        </form>
    </div>
   
    <script type="text/javascript" src="__LAYUI__/layui.js"></script>
    <script type="text/javascript" src="__JS__/admin/library.js"></script>
       

</body>
</html>           

